/*
 * @Author: 吴世扬 18368095041@163.com
 * @Date: 2024-05-23 11:40:09
 * @LastEditors: 吴世扬 18368095041@163.com
 * @LastEditTime: 2024-07-24 10:19:19
 * @FilePath: /vue3-uniapp/src/main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createSSRApp } from 'vue';
import App from './App.vue';
import 'virtual:uno.css';

import { setupUvuiTools, setupHttpInterceptor, setupHook } from '@/plugins';
import { setupStore } from '@/store';

export function createApp() {
    const app = createSSRApp(App);
    setupStore(app);
    setupUvuiTools(app);
    setupHttpInterceptor(app);
    setupHook(app);
    return {
        app
    };
}
